package com.briup.smart.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
        /**
         * 主键ID
         */
        private Integer id;
        /**
         * 登录⽤户名
         */
        private String username;
        /**
         * 登录密码
         */
        private String password;
        /**
         * ⼿机号
         */
        private String phone;
        /**
         * ⽤户头像
         */
        private String avatar;
        /**
         * ⽤户性别(0男，1⼥)
         */
        private String gender;
        /**
         * ⽤户状态(0正常，1禁⽤)
         */
        private Byte status;
        /**
         * ⽤户⽣⽇
         */
        private LocalDate birthday;
        /**
         * 注册时间
         */
        private LocalDateTime registerTime;
}